package com.ztgf.shopping.models.service.shop;

import com.baomidou.mybatisplus.service.IService;
import com.ztgf.common.constant.Result;
import com.ztgf.shopping.models.bo.shop.ShopAnnualFeePayBO;
import com.ztgf.shopping.models.bo.shop.ShopAnnualFeePayOnlineBO;
import com.ztgf.shopping.models.bo.shop.ShopAnnualFeeReturnBO;
import com.ztgf.shopping.models.bo.shop.ShopAnnualFeeSaveBO;
import com.ztgf.shopping.models.dto.shop.ShopAnnualFeeDTO;

/**
 * 店铺年费服务
 *
 * @author zhanghualang
 * @Date 2020-06-16 14:36:53
 */
public interface IShopAnnualFeeService extends IService<ShopAnnualFeeDTO> {
    boolean add(ShopAnnualFeeSaveBO saveBO);

    ShopAnnualFeeDTO getByShopId(Long id);

    void updatePayAnnualFee(ShopAnnualFeePayBO bo); //缴纳年费

    boolean updateAnnualFee(ShopAnnualFeePayBO bo); //设置年费 后端使用

    boolean updatePaidAnnualFee(ShopAnnualFeePayBO bo); //设置实缴年费 后端使用

    Result updatePaidByBalance(Long id, String mobile, String captcha); //余额缴纳年费

    Result updatePaidByOnline(ShopAnnualFeePayOnlineBO bo); //网银缴纳年费

    Result updatePaidReturn(ShopAnnualFeeReturnBO bo); //年费缴纳回调接口
}
